home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
database
/
vs_804
/
vernsix.ch
< prev
next >
Wrap
Text File
|
1991-11-19
|
1KB
|
48 lines
/*
*
* VernSix.Ch
*
* Standard definitions for various functions in VernSix5.Lib
* Copyright (c) 1991 by Vernon E. Six, Jr.
* All Rights Reserved World Wide
*
*/
// Sun 10-20-1991 11:41:39
//
// Replacement for INDEX ON
//
#xcommand INDEX ON <key> TO <file> [<u: UNIQUE>] ;
=> VS_ShowNtx( <"file">, <(key)>, TYPE(<key>), if( <.u.>,.T.,) )
// Fri 10-25-1991 10:17:43
//
// Replacement for FWRITE( n_Handle, string + CHR(13) + CHR(10) )
//
#xcommand FWriteLine( <handle>, <string> ) ;
=> FWrite( <handle>, <string> + CHR(13) + CHR(10) )
// Tue 11-12-1991 14:14:35
//
// Compile a code block at runtime
//
#xtranslate COMPILE( <string> ) ;
=> &( "{||" + <string> + "}" )
// Tue 11-19-1991 12:07:42
//
// Push Buttons
//
#xtranslate pbOK => {" Ok "}
#xtranslate VS_YesNoBox( <string>, <width>, <color> ) ;
=> VS_Alert( {"",PADC(<string>, <width>),""}, {" Yes "," No "}, <color> )
#define pbNO 2
#define pbYES 1
// End of VernSix.Ch